import tkinter as tk


window=tk.Tk()
window.title("my window")
window.geometry("400x200")




entry1=tk.Entry(window,show=None)
entry1.pack()

entry2=tk.Entry(window,show=None)
entry2.pack()

entry3=tk.Entry(window,show=None)
entry3.pack()


def insert_point():
    n=entry1.get()
    text1.insert("insert",n)


def insert_end():
    m=entry1.get()
    text1.insert("end",m)


global x,y
x=entry2.get()
y=entry3.get()

def insert_where():
    q=entry1.get()
    text1.insert(x.y,q)


b1=tk.Button(window,text="insert point",width=15,height=2,command=insert_point)
b1.pack()
b2=tk.Button(window,text="insert end",width=15,height=2,command=insert_end)
b2.pack()
b3=tk.Button(window,text="insert where you want",width=30,height=2,command=insert_where)
b3.pack()


text1=tk.Text(window,height=2)
text1.pack()





window.mainloop()




